%ObjectsTest=cell(size(ObjectsContainedInFrames));
%ObjectsTest=cell(size(ObjectsContainedInFrames));

for i=1:length(ObjectsContainedInFrames)
    ObjectStruct=ObjectsContainedInFrames{i};
    for j=1:length(ObjectStruct)
%         ObjectsTest{i}(j).Area=uint16(ObjectStruct(j).Area);
%         ObjectsTest{i}(j).Centroid=uint16(ObjectStruct(j).Centroid);
%         ObjectsTest{i}(j).Eccentricity=single(ObjectStruct(j).Eccentricity);
%         ObjectsTest{i}(j).Orientation=single(ObjectStruct(j).Orientation);
%         ObjectsTest{i}(j).Number=ObjectStruct(j).Number;
%         ObjectsTest{i}(j).fluorMean=ObjectStruct(j).fluorMean;
%         ObjectsTest{i}(j).fluorStd=ObjectStruct(j).fluorStd;
        
%         ObjectsTest{i}(j,1)=ObjectStruct(j).Area;
%         ObjectsTest{i}(j,2)=ObjectStruct(j).Centroid(1);
%         ObjectsTest{i}(j,3)=ObjectStruct(j).Centroid(2);
%         ObjectsTest{i}(j,4)=ObjectStruct(j).Eccentricity;
%         ObjectsTest{i}(j,5)=ObjectStruct(j).Orientation;
%         ObjectsTest{i}(j,6)=ObjectStruct(j).Number;
%         ObjectsTest{i}(j,7)=ObjectStruct(j).fluorMean(1);
%         ObjectsTest{i}(j,8)=ObjectStruct(j).fluorMean(2);
%         ObjectsTest{i}(j,9)=ObjectStruct(j).fluorStd(1);
%         ObjectsTest{i}(j,10)=ObjectStruct(j).fluorStd(2);
% 
%         ObjectsTest{i}(j,1)=ObjectStruct(j).Area;
%         ObjectsTest{i}(j,2)=ObjectStruct(j).Centroid(1);
%         ObjectsTest{i}(j,3)=ObjectStruct(j).Centroid(2);
%         ObjectsTest{i}(j,4)=ObjectStruct(j).Eccentricity;
%         ObjectsTest{i}(j,5)=ObjectStruct(j).Orientation;
%         ObjectsTest{i}(j,6)=ObjectStruct(j).Number;
%         
% %         ObjectArray(1)=ObjectStruct(j).Area;
% %         ObjectArray(2)=ObjectStruct(j).Centroid(1);
% %         ObjectArray(3)=ObjectStruct(j).Centroid(2);
% %         ObjectArray(4)=ObjectStruct(j).Eccentricity;
% %         ObjectArray(5)=ObjectStruct(j).Orientation;
% %         ObjectArray(6)=ObjectStruct(j).Number;
%         
%         ObjectsTest{i}(j,7)=ObjectStruct(j).fluorMean(1);
%         ObjectsTest{i}(j,8)=ObjectStruct(j).fluorMean(2);
%         ObjectsTest{i}(j,9)=ObjectStruct(j).fluorStd(1);
%         ObjectsTest{i}(j,10)=ObjectStruct(j).fluorStd(2);
        
%         ObjectsTest{i,j,1}=ObjectArray;
%         ObjectsTest{i,j,2}=ObjectStruct(j).fluorMean;
%         ObjectsTest{i,j,3}=ObjectStruct(j).fluorStd;
        
%         ObjectsTest{i}{j,1}=ObjectArray;
%         ObjectsTest{i}{j,2}=ObjectStruct(j).fluorMean;
%         ObjectsTest{i}{j,3}=ObjectStruct(j).fluorStd;
        
        

%         ObjectsTest{i}{j,1}=uint16(ObjectStruct(j).Area);
%         ObjectsTest{i}{j,2}=uint16(ObjectStruct(j).Centroid);
%         ObjectsTest{i}{j,3}=single(ObjectStruct(j).Eccentricity);
%         ObjectsTest{i}{j,4}=single(ObjectStruct(j).Orientation);
%         ObjectsTest{i}{j,5}=ObjectStruct(j).Number;
%         ObjectsTest{i}{j,6}=ObjectStruct(j).fluorMean;
%         ObjectsTest{i}{j,7}=ObjectStruct(j).fluorStd;

%         ObjectsTest(i,j,1)=ObjectStruct(j).Area;
%         ObjectsTest(i,j,2)=ObjectStruct(j).Centroid(1);
%         ObjectsTest(i,j,3)=ObjectStruct(j).Centroid(2);
%         ObjectsTest(i,j,4)=ObjectStruct(j).Eccentricity;
%         ObjectsTest(i,j,5)=ObjectStruct(j).Orientation;
%         ObjectsTest(i,j,6)=ObjectStruct(j).Number;
%         ObjectsTest(i,j,7)=ObjectStruct(j).fluorMean(1);
%         ObjectsTest(i,j,8)=ObjectStruct(j).fluorMean(2);
%         ObjectsTest(i,j,9)=ObjectStruct(j).fluorStd(1);
%         ObjectsTest(i,j,10)=ObjectStruct(j).fluorStd(2);

    end
end